﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CMS.APP
{
    public class Labels
    {
        #region Fields
        /// <summary>
        /// 标签数量
        /// </summary>
        private int count;
        /// <summary>
        /// 标签数量
        /// </summary>
        public int Count
        {
            get { return count; }
            //set { count = value; }
        }
        /// <summary>
        /// 新闻Id
        /// </summary>
        private decimal newsId;
        #endregion Fields

        #region Constructor
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="newsId">新闻Id</param>
        /// <param name="newsLabelCount">数量</param>
        public Labels(decimal newsId,int newsLabelCount)
        {
            this.newsId = newsId;
            this.count = newsLabelCount;
        }
        #endregion Constructor

        /// <summary>
        /// 添加标签
        /// </summary>
        /// <param labelName="labelBasic">基础标签</param>
        /// <param labelName="labelValue">标签值</param>
        public int Add(LabelBasic labelBasic, string labelValue)
        {
            throw new System.NotImplementedException();
        }
        /// <summary>
        /// 删除标签
        /// </summary>
        /// <param labelName="labelBasic">基础标签</param>
        public int Delete(LabelBasic labelBasic)
        {
            throw new System.NotImplementedException();
        }
        /// <summary>
        /// 删除标签
        /// </summary>
        /// <param labelName="labelName">标签名称</param>
        public int Delete(string labelName)
        {
            throw new System.NotImplementedException();
        }
        /// <summary>
        /// 获得新闻的所有标签
        /// </summary>
        /// <param labelName="newsId">新闻Id</param>
        static public List<Label> GetAllLabels(decimal newsId)
        {
            throw new System.NotImplementedException();
        }
    }
}
